/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import engine.Time;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;

/**
 *
 * @author Johnny
 */
public class TimeTester {

    public TimeTester() {
    }

    @BeforeClass
    public static void setUpClass() throws Exception {
    }

    @AfterClass
    public static void tearDownClass() throws Exception {
    }

    @Before
    public void setUp() {
    }

    @After
    public void tearDown() {
    }


    @Test
    public void test1() {
        Time t1 = new Time(5,0,0);
        Time t2 = new Time(5,10,0);

        System.out.println(t1);
        System.out.println(t2);
        System.out.println(t1.substract(t2));
        System.out.println(t2.compareTo(t1));
    }

}